﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Events
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Login_OnAuthenticate(object sender, EventArgs e)
        {
            //Response.Redirect("default.aspx", false);
        }
        protected void login1_LoginError(object sender, EventArgs e) 
        {
        }


        //        Dim oNenaData As NENAMember = New NENAMember
        //Dim oMember = oNenaData.GetMember(Login1.UserName)
        //If oMember Is Nothing Then
        //    Login1.FailureText = "Incorrect user name. <br /> Your membership may need to be updated. <br /> " & _
        //        "<a href='http://membership.nena.ca/disclaimer.aspx'>Use this link</a> to have your account updated. <br />"
        //    '"Select the '<a href='http://membership.nena.ca/disclaimer.aspx'>Apply for NENA Membership</a>' link to have your account created."
        //Else
        //    Login1.FailureText = "You password is incorrect, please try again. <br /> " & _
        //        "Or use the <b>'I forgot my Password'</b> link below."
        //End If

    }
}